Closure of the hysterotomy at the time of primary cesarean